package com.liu.thredState_study;


public class MyThread extends Thread{

    @Override
    public void run() {
        while (true){
            try {
                this.sleep(1000);
                System.out.println("MyTread正在执行");

            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
    }
}
